package com.indra.bbva.pe.monitor.in.bo.impl;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.indra.bbva.pe.monitor.in.bo.iface.MultiTablaBOIface;
import com.indra.bbva.pe.monitor.in.dao.iface.MultiTablaDAOIface;
import com.stefanini.pe.bbva.bp.in.to.MultiTabla;

@Service("multiTablaBO")
public class MultiTablaBOImpl implements MultiTablaBOIface{
	@Autowired
	private MultiTablaDAOIface multiTablaDAOIface;
	
	public List <MultiTabla> listarMultiTabla(String in_idtabla, String in_iditem) {
		return multiTablaDAOIface.listarMultiTabla(in_idtabla, in_iditem);
	}

	public List listarTablas() {
		return multiTablaDAOIface.listarTablas();
	}

	public Map<String,Object> insertarMultiTabla(MultiTabla multiTabla) {
		return multiTablaDAOIface.insertarMultiTabla(multiTabla);
	}

	public Map<String,Object> modificarMultiTabla(MultiTabla multiTabla) {
		return multiTablaDAOIface.modificarMultiTabla(multiTabla);
	}

	public List<HashMap> obtenerMultiTablaXID(String idcodigo) {
		return multiTablaDAOIface.obtenerMultiTablaXID(idcodigo);
	}
}
